# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from collections import OrderedDict

from .single_char_pair import SingleCharPair

class Superscript(SingleCharPair):
    """
    Superscript
    上标
    """
    def __init__(self, paragraph, paragraph_index):
        super(Superscript, self).__init__(paragraph, '^', 'superscript', paragraph_index)

    def _toHtml(self, content):
        return '<sup class="rmk-superscript">' + content + '</sup>'